package com.ethink.order.api.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * TOC售后导入日志 新增请求对象
 *
 * @author default
 * @date 2023-01-10
 */
@Data
public class TocSaleAfterImportLogAddItemRequest {


    @Schema(description ="导入记录ID",hidden = true)
    private Long logId;

    @NotNull(message = "网店订单号不能为空")
    @Schema(description ="网店订单号")
    private String shopOrderNo;

    @Schema(description = "运单号")
    private String shopExpressNo;

    @NotNull(message = "上架时间不能为空")
    @Schema(description ="上架时间")
    private String returnDate;

    @NotNull(message = "仓库编码不能为空")
    @Schema(description ="仓库编码")
    private String subWarehouseCode;

    @NotNull(message = "仓库名称不能为空")
    @Schema(description ="仓库名称")
    private String subWarehouseName;

    @Schema(description ="商品SKU")
    private String mateSku;

    @Schema(description ="生产批次")
    private String produceCode;

    @Schema(description ="枚举 库存类型:1-正品(zp)|2-瑕疵(cc)")
    private Integer inventoryType;

    @Schema(description ="退货数量")
    private Integer returnQty;

}
